#ifndef ShowkeyWindow_H
#define ShowkeyWindow_H

#include <QApplication>
#include <QDesktopWidget>
#include <QWidget>
#include <QLabel>
#include <QTextEdit>
#include <QPlainTextEdit>
#include <QLayout>
#include <QTimer>

class ShowkeyWindow : public QWidget
{ 
    Q_OBJECT
public:
    explicit ShowkeyWindow(const QRect &rect, QWidget* parent = nullptr);
    virtual ~ShowkeyWindow();

    void addText(QString value);
    void clearShow();
public slots:

private slots:
    void resetLayout();

private:
    QVBoxLayout *m_VLayout;
    QHBoxLayout *m_HLayout;
    QTimer *m_Timer;
    QList<QWidget*> widgetList;
    int nRowLabelWidth = 0;
    int nColLabelHeight = 0;
};
#endif
